#ifndef __LUMINANCE_H
#define __LUMINANCE_H
#include "hard.h"
#define MODE1				0
#define MODE2				1
#if MODE1
typedef struct 
{
	u8 flags;

}LUMINANCE_FLAGS_Def;
extern LUMINANCE_FLAGS_Def Luminance;
void Select_Light(u16 addr1);
void Set_Luminance(u8 lightaddr1,u8 lightaddr2,u8 lightaddr3,u8 data);
void Start_Set_Luminance(u8 flags);
#endif
#if MODE2
extern u8 luminance_addr;
void Display_Control(u16 addr1);
void Start_SetLuminance(u8 data);
#endif
void Send_Luminance(u8 add1,u8 data);
void Send_All(u8 light1,u8 light2,u8 SAVE);

#endif 
